/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.cput.tp.patterns.behaviour.iterator;

/**
 *
 * @author Malotana
 */
public class Item {
    public String name;
    public float price;
    
    public Item(String name, float price){
        this.name = name;
        this.price = price;
    }
    
    public String toString(){
      return name +": $"+ price;
    }
}